package com.huaxiafinance.management.dto.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by huangwencheng on 2017/9/12.
 */
public class GoodsReceiptDto {


    private Integer id;

    @NotNull(message = "订单id不能为空")
    private Integer orderId;

    private String shippingCompany;

    private String shippingStatus;

    private Integer shippingCompanyStatus;

    private Integer shippingExtraStatus;

    @NotBlank(message = "快递编号不能为空")
    private String shippingNumber;

    @NotBlank(message = "商品名称不能为空")
    private String proName;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShippingCompany() {
        return shippingCompany;
    }

    public void setShippingCompany(String shippingCompany) {
        this.shippingCompany = shippingCompany;
    }

    public String getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(String shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public Integer getShippingCompanyStatus() {
        return shippingCompanyStatus;
    }

    public void setShippingCompanyStatus(Integer shippingCompanyStatus) {
        this.shippingCompanyStatus = shippingCompanyStatus;
    }

    public Integer getShippingExtraStatus() {
        return shippingExtraStatus;
    }

    public void setShippingExtraStatus(Integer shippingExtraStatus) {
        this.shippingExtraStatus = shippingExtraStatus;
    }

    public String getShippingNumber() {
        return shippingNumber;
    }

    public void setShippingNumber(String shippingNumber) {
        this.shippingNumber = shippingNumber;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    @Override
    public String toString() {
        return "GoodsReceiptDto{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", shippingCompany='" + shippingCompany + '\'' +
                ", shippingStatus='" + shippingStatus + '\'' +
                ", shippingCompanyStatus=" + shippingCompanyStatus +
                ", shippingExtraStatus=" + shippingExtraStatus +
                ", shippingNumber='" + shippingNumber + '\'' +
                ", proName='" + proName + '\'' +
                '}';
    }
}
